package com.uzai.console.dto.feign.userextinfo;

import org.apache.commons.lang3.StringUtils;

import java.util.List;

/**
 * @Auther: jianghan
 * @Date: 2022/3/30 15:23
 * @Description:
 */
public class UserExtInfoQueryDto{
    private Long merId;
    private Integer deviceType;
    private String bizUserId;
    private List<String> keys;

    private String serverName;

    public String getBizUserId() {
        return bizUserId;
    }

    public void setBizUserId(String bizUserId) {
        this.bizUserId = bizUserId;
    }

    public List<String> getKeys() {
        return keys;
    }

    public void setKeys(List<String> keys) {
        this.keys = keys;
    }

    public Long getMerId() {
        return merId;
    }

    public void setMerId(Long merId) {
        this.merId = merId;
    }

    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public String getServerName() {
        if(StringUtils.isBlank(serverName)){
            serverName = "console";
        }
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }
}
